home *** CD-ROM | disk | FTP | other *** search
- 164
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- WindowInfo
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWindowInfo returns information about a window.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baWindowInfo( WindowHandle , InfoType )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer, String
- --- RECORDSEPARATOR ---
- WindowHandle is the handle of the window.
- --- RECORDSEPARATOR ---
- InfoType is the type of information required. Can be one of the following:
- --- RECORDSEPARATOR ---
- "title"
- --- RECORDSEPARATOR ---
- the caption of the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win, Mac
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "class"
- --- RECORDSEPARATOR ---
- the class name/creator type of the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win, Mac
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "state"
- --- RECORDSEPARATOR ---
- the present state of the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
- . Return can be:
- --- RECORDSEPARATOR ---
- "hidden"
- --- RECORDSEPARATOR ---
- the window is hidden
- --- RECORDSEPARATOR ---
- "min"
- --- RECORDSEPARATOR ---
- minimised
- --- RECORDSEPARATOR ---
- "max"
- --- RECORDSEPARATOR ---
- maximised
- --- RECORDSEPARATOR ---
- "normal"
- --- RECORDSEPARATOR ---
- normal state
- --- RECORDSEPARATOR ---
- "text"
- --- RECORDSEPARATOR ---
- the window's text -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "left"
- --- RECORDSEPARATOR ---
- the left edge of the window in pixels
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "right"
- --- RECORDSEPARATOR ---
- the right edge -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "top"
- --- RECORDSEPARATOR ---
- the top edge of the window in pixels
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "bottom"
- --- RECORDSEPARATOR ---
- the bottom edge -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "width"
- --- RECORDSEPARATOR ---
- the width of the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "height"
- --- RECORDSEPARATOR ---
- the height of the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "rel left"
- --- RECORDSEPARATOR ---
- the left edge of the window in relation to itΓÇÖs parent -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "rel top"
- --- RECORDSEPARATOR ---
- the top edge of the window in relation to itΓÇÖs parent -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "client height"
- --- RECORDSEPARATOR ---
- the height of the client area of the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "client width"
- --- RECORDSEPARATOR ---
- the width of the client area of the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- "app"
- --- RECORDSEPARATOR ---
- the path to the application that owns the window
- --- RECORDSEPARATOR ---
- -
- --- RECORDSEPARATOR ---
- Win, Mac
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Returns the information requested, or "Invalid" if the window doesn't exist..
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set State = baWindowInfo( Window, "state" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- State := baWindowInfo( Window, "state" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- The "text" option can be used to retrieve the text in an edit control window.
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Mac
- --- RECORDSEPARATOR ---
- , you can use ΓÇ£creatorΓÇ¥ instead of ΓÇ£classΓÇ¥.
- --- RECORDSEPARATOR ---
- When using the "rel left" and "rel top" options, if the window is a child of another
- --- RECORDSEPARATOR ---
- window, then the values returned will be relative to the parent window. If the
- --- RECORDSEPARATOR ---
- window does not have a parent window, then the returns will be relative to the
- --- RECORDSEPARATOR ---
- screen.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSetWindowTitle
- --- RECORDSEPARATOR ---
- baMoveWindow
- --- RECORDSEPARATOR ---
- baSetWindowState